﻿#ifndef NETCONFIGFORM_H
#define NETCONFIGFORM_H


#include <QWidget>
#include"formtcpfileclient.h"
namespace Ui {
class NetConfigForm;
}

class NetConfigForm : public QWidget
{
    Q_OBJECT

public:
    explicit NetConfigForm(QWidget *parent = nullptr);
    ~NetConfigForm();

    void ReadCfg();
    void saveCfg();
    QString SellectDirPath();
public:

private slots:
    void on_pushButton_apply_clicked();
    void on_pushButton_selectDir_clicked();
    QString getVmSolutionPath();
    void on_btn_selVMsol_trdp_clicked();
    void on_btn_selVMsol_mvb_clicked();

signals:
    void CfgChanged();
    void SendLogMsg(const QString &log, int type=0);
private:
    FormTcpFileClient _FileclientForm;
    Ui::NetConfigForm *ui;
};

#endif // NETCONFIGFORM_H
